﻿using Coater.Enum;
using System.Xml.Serialization;

namespace Coater
{
    public class NozzleConfig
    {
        [XmlArray]
        public List<NozzleInfo> nozzles { get; set; } = new List<NozzleInfo>();

    }

    public class NozzleInfo
    {
        [XmlElement]
        public NozzleEnum Nozzle { get; set; }
        [XmlElement]
        public string NozzleName { get; set; }
        [XmlElement]
        public bool Enable { get; set; }
        [XmlElement]
        public int Minutes { get; set; }
        [XmlElement]
        public int Sec { get; set; }
    }


}
